package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.bean.RecordBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
@Mapper
public interface IRecordMapper extends BaseMapper<RecordBean> {


    /**
     * 按房间id 查询 房间状态（“未解决”数量）
     * @param roomId 房间id
     * @return Integer
     */
    Integer stateById(Integer roomId);


    /**
     * 修改房间状态
     * @param roomId 房间id
     */
    void changeRoomState(Integer roomId);
}
